package com.redare.dev.smart.generator.workbench.config;

import org.springframework.beans.factory.annotation.Value;

/**
 * @author hxw
 */
public class WebConfig {

    @Value("#{config['webRootUrl']}")
    private String webRootUrl;

    @Value("#{config['resource.image.url']}")
    private String resourceImageUrl;

    @Value("#{config['resource.file.url']}")
    private String resourceFileUrl;

    @Value("#{config['resource.url']}")
    private String resourceUrl;

    @Value("#{config['approval.sysCode']}")
    private String sysCode;

    @Value("#{config['service.ddgateway.enterpriseCode']}")
    private String enterpriseCode;

    @Value("#{config['service.ddgateway.dingLoginApp']}")
    private String dingLoginApp;

    @Value("#{config['scan.create.defaultRoleId']}")
    private String defaultRoleId;

    @Value("#{config['default.registeredPwd.prefix']}")
    private String registeredPwdPrefix;

    @Value("#{config['default.registeredPwd.substringNumber']}")
    private Integer substringNumber;

    /**
     * 平台客户角色ID
     */
    @Value("#{config['platform.roleId.customer']}")
    private Long platformRoleIdCustomer;

    @Value("#{config['platform']}")
    private String platform;

    @Value("#{config['project.dir']}")
    private String projectDir;

    @Value("#{config['project.module.sdk.name']}")
    private String projectSdkName;

    @Value("#{config['project.module.service.name']}")
    private String projectServiceName;


    @Value("#{config['project.module.manager.name']}")
    private String projectManagerName;

    @Value("#{config['project.module.service.package']}")
    private String projectServicePackage;

    @Value("#{config['project.module.sdk.package']}")
    private String projectSdkPackage;


    @Value("#{config['project.module.manager.package']}")
    private String projectManagerPackage;


    public String getPlatform() {
        return platform;
    }

    public String getRegisteredPwdPrefix() {
        return registeredPwdPrefix;
    }

    public Integer getSubstringNumber() {
        return substringNumber;
    }

    public String getDefaultRoleId() {
        return defaultRoleId;
    }

    public String getEnterpriseCode() {
        return enterpriseCode;
    }

    public String getSysCode() {
        return sysCode;
    }

    public String getWebRootUrl() {
        return webRootUrl;
    }

    public String getDingLoginApp() {
        return dingLoginApp;
    }

    public String getResourceImageUrl() {
        return resourceImageUrl;
    }

    public String getResourceFileUrl() {
        return resourceFileUrl;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public Long getPlatformRoleIdCustomer() {
        return platformRoleIdCustomer;
    }

    public String getProjectDir() {
        return projectDir;
    }

    public String getProjectSdkName() {
        return projectSdkName;
    }

    public String getProjectServiceName() {
        return projectServiceName;
    }

    public String getProjectManagerName() {
        return projectManagerName;
    }

    public String getProjectServicePackage() {
        return projectServicePackage;
    }

    public String getProjectSdkPackage() {
        return projectSdkPackage;
    }

    public String getProjectManagerPackage() {
        return projectManagerPackage;
    }
}
